import React from "react";
import Checkerboard from "./Checkerboard";
export default class Panel extends React.Component{

    playChess(row,col){
        this.props.playChess(row,col)
    }

    render(){
        // const checkerboard=new Array(15).fill(0);

        return(
            <div className="five-game-panel">
                <Checkerboard playChess={this.playChess.bind(this)} boardData = {this.props.boardData}/>
            </div>
        )

    }
}